// 登录和注册的API接口模块
// 导入/src/utils/request.js
import request from '@/utils/request.js'

// 注册用户的API
export const regAPI = (obj) => {
  return request.post('/api/reg', obj)
}

// 登录用户的API
export const loginAPI = (obj) => {
  return request.post('/api/login', obj)
}
